package com.lexian.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品目录
 * </p>
 *
 * @author testjava
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Catalog对象", description="商品目录")
public class Catalog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品目录编号")
    @TableId(value = "catalog_id", type = IdType.AUTO)
    private Long catalogId;

    @ApiModelProperty(value = "商品目录名")
    private String name;

    @ApiModelProperty(value = "商品目录描述")
    private String des;

    @ApiModelProperty(value = "商品目录图")
    private String img;

    @ApiModelProperty(value = "商品目录可用状态")
    private Integer status;


}
